package dao;

import domain.cms.CmsUrl;


public class CmsUrlRepositoryImpl extends AbstractEntityRepository<CmsUrl> {

    public CmsUrlRepositoryImpl() {
        super(CmsUrl.class);
    }

    @Override
    protected Class<CmsUrl> getEntityClass() {
        return CmsUrl.class;
    }

    public CmsUrl create() throws Exception {
        CmsUrl url = new CmsUrl();
        return save(url);
    }
}
